<?php
yii::app()->user->hasFlash('contact');
echo Yii::app()->user->getFlash('contact');
?>
<div class="bs-example">
    <h3> Danh Mục Banner Left </h3>
    <?php foreach($bannerleft as $key => $value){
    ?>
    <div class="row">
        <div class="col-xs-6 col-md-3" style="border: 1px solid #006699; padding: 8px; margin: 10px 10px 0px 10px;">
             <img data-src="holder.js/100%x180" alt="100%x180" src="<?php echo $value->destination; ?>" data-holder-rendered="true" style="height: 180px; width: 100%; display: block; border: 2px solid #006699;">
             <a href="<?php echo Yii::app()->createUrl('admin/banner/deletebanner',array('id'=>$value->id))?>" onclick="return confirm('Ban co muon xoa khong');">Xóa</a>
        </div>
    <?php }?>
    </div>
</div>
<div class="bs-example">
    <h3> Danh Mục Banner Right </h3>
    <?php foreach($bannerright as $key => $value){
    ?>
    <div class="row">
        <div class="col-xs-6 col-md-2" style="border: 1px solid #006699; padding: 8px; margin: 10px 10px 0px 10px;">
            <img data-src="holder.js/100%x180" alt="100%x180" src="<?php echo $value->destination; ?>" data-holder-rendered="true" style="height: 180px; width: 100%; display: block; border: 2px solid #006699;">
            <a href="<?php echo Yii::app()->createUrl('admin/banner/deletebanner',array('id'=>$value->id))?>"  onclick="return confirm('Ban co muon xoa khong');">Xóa</a>
        </div>
        <?php }?>
    </div>
</div>